<html>
<HEAD>
  <TITLE>Recipe Server Control Panel</TITLE>
  <link rel="shortcut icon" type="image/png" href="/css/py.png" /> 
  <link rel="stylesheet" href="/css/cdna.css" />
  <link rel="stylesheet" href="/recipe_server.css" />
  <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>  
  <script src="/js/cdna.js"></script>
  <script src="/recipe_server.js"></script>
</HEAD>
<body> 
  <div class=header> Recipe Server @ <span id=rpc-port> </span> Control Panel </div>
    <table class=control-buttons>
  <tr><td>
    <form class=reset><input class=submitForm type=button value="reset"><input type=hidden name=method value=reset></form>
  </td><td>  
    <form class=stopAll><input id=stopAll class=submitForm type=button value="stop everything"><input type=hidden name=method value=stop></form>
  </td></tr>
  </table>   
    <fieldset>
      <legend> Recipes in Local Database </legend>
      <table id="recipes-table" style="width:100%">
        <tr>
          <th> id </th> <th> name </th> <th> size </th> <th> # blocks </th> 
        </tr>
                 
      </table>
    </fieldset>  
    <fieldset>
      <legend> Run A SQL Query</legend>
      <form>
        <input type=hidden name=method value=run_sql>
        
        <input type=text style="width:100%;" name=query>
        <input class=submitForm type=button value=submit>
      </form>
      <div id=sql-results>
      </div>
    </fieldset>
  <div class="footer"> 2010-2010 All rights belong to CDNA </div>
</body>
</html>